package com.shooker.factory.abstractfactory.util;

import com.shooker.factory.abstractfactory.service.ICommand;
import com.shooker.factory.abstractfactory.service.IConnection;
import com.shooker.factory.abstractfactory.service.IDataBaseUtils;
import com.shooker.factory.abstractfactory.service.impl.OracleCommand;
import com.shooker.factory.abstractfactory.service.impl.OracleConnected;

public class OracleDataBaseUtil implements IDataBaseUtils {
    @Override
    public IConnection getConnection() {
        return new OracleConnected();
    }

    @Override
    public ICommand getCommand() {
        return new OracleCommand();
    }
}
